package cn.tedu.ivos.vehicle.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class VehicleVO {
    @ApiModelProperty("唯一id")
    private Long id;
    @ApiModelProperty("品牌")
    private String brand;
    @ApiModelProperty("车牌")
    private String license;
    @ApiModelProperty("型号")
    private String model;
    @ApiModelProperty("唯一物理码")
    private String code;
    @ApiModelProperty("排量")
    private String displacement;
    @ApiModelProperty("状态 1空闲 2占用")
    private String status;
    @ApiModelProperty("种类")
    private String type;
    @ApiModelProperty("里程数")
    private String kilometers;
    @ApiModelProperty("注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date regTime;
    @ApiModelProperty("购买时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date buyTime;
    @ApiModelProperty("价格")
    private String price;
    @ApiModelProperty("电池类型")
    private String batteryType;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("绑定电子围栏状态   0 未绑定 1绑定")
    private String geofenceBindStatus;
    @ApiModelProperty("对应的电子围栏id")
    private Long geofenceId;
}
